package com.example.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("fraud-serv")
public interface FraudService {
    @GetMapping("api/v1/fraud-check/{email}")
    FraudReviewResponse isFraudster(@PathVariable("email")String email);
}